PyQt5 and matplotlib graph only updates when screen gets maximized or minimized

welcome to shbcf.ru